{% extends "base.htm" %}

{% block title %}Create a Geo Redir - {% endblock %}

{% block content %}

<form>

    <div class="create-form">

        <label for="url">URL</label>
        <input type="text" name="url" id="url" class="param url" title="Destination URL"/>

		<br class="unfloat"/>
		<label for="country_param">Country Param</label>
        <input type="text" name="country_param" id="country_param" class="param geo" title="GET Parameter for Country"/>
		<div class="example">i.e.: {{country}}</div>
        <select name="country_param_transform" id="country_param_transform" class="param transform" title="Text transformation">
            <option value="">don't transform</option>
			<option value="upper">UPPERCASE</option>
			<option value="lower">lowercase</option>
        </select>

		<br class="unfloat"/>
		<label for="region_param">Region Param</label>
        <input type="text" name="region_param" id="region_param" class="param geo" title="GET Parameter for Region"/>
		<span class="example">i.e.: {{region}}</span>
		<select name="region_param_transform" id="region_param_transform" class="param transform" title="Text transformation">
            <option value="">don't transform</option>
			<option value="upper">UPPERCASE</option>
			<option value="lower">lowercase</option>
        </select>

		<br class="unfloat"/>
		<label for="city_param">City Param</label>
        <input type="text" name="city_param" id="city_param" class="param geo" title="GET Parameter for City"/>
		<span class="example">i.e.: {{city}}</span>
		<select name="city_param_transform" id="country_param_transform" class="param transform" title="Text transformation">
            <option value="">don't transform</city_param_case>
			<option value="upper">UPPERCASE</option>
			<option value="lower">lowercase</option>
        </select>

		<br class="unfloat"/>
		<label for="latlong_param">Lat/Long Param</label>
        <input type="text" name="latlong_param" id="latlong_param" class="param geo" title="GET Parameter for City Lat/Long"/>
		<span class="example">i.e.: {{citylatlong}}</span>

        <br class="unfloat"/>

    </div>

    <div class="create-form results">

        <label for="redirurl">Redirection URL</label>
        <input type="text" name="redirurl" id="redirurl" title="Copy & Paste the final redirection URL"/>
		<a href="#" id="go" target="_blank">Go</a>
		
    </div>

</form>

<script src="../static/js/create.js" type="text/javascript"></script>

{% endblock %}
